

#ifndef _SHELL_RESMINING_MESSAGE_H_
#define _SHELL_RESMINING_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "MiningBean.h"
using namespace std;

class ResMiningMessage : public Message
{
	public:
	ResMiningMessage();
	~ResMiningMessage();
	void reset();
	ResMiningMessage* clone();
	static const int _ID;
	//所有矿区
	vector<MiningBean*> miningBeans;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
